﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>智慧教育用户桌面（雨）管理平台</title>
    <link rel="shortcut icon" href="Images/favicon-yu.ico" />
    <link rel="stylesheet" type="text/css" href="CSS/Base.css" />
    <link rel="stylesheet" type="text/css" href="CSS/iconfont.css">
    <script type="text/javascript" src="./Scripts/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="./Scripts/Base.js"></script>
</head>

<body>
    <div id="header">
        <div style="display: inline-block; cursor: pointer;" id="index">
            <a id="home-btn" target="_self"></a>
            <span class="header-title"
                style="color: white; font-weight: bold; font-size: 16px; position: relative; margin-left: 0;">帮助主页</span>
        </div>

        <span
            style="display: inline-block; width: 1px; height: 16px; background-color: white; vertical-align: middle; opacity: 0.5;"></span>
        <span style="opacity: 0.72; color: white;">智慧教育用户桌面（雨）管理平台</span>
    </div>


    <div id="content" data-showlist="1">
        <div class="listarrow"></div>
        <div id="list">
            <div class="nav">
                <div class="nav-top">
                    <div id="mini" style="border-bottom:1px solid rgba(255,255,255,.1)">
                        <img src="Images/Base/mini.png">
                        <div class="repertory">目录索引</div>
                    </div>
                </div>
                <ul>
                    <li class="nav-item">
                        <a class="jumpurl" title="新闻资讯"><i class="my-icon nav-icon icon_2"></i><span>新闻资讯管理</span>
                            <i class="my-icon nav-more"></i>
                        </a>
                        <ul class="hidden">
                            <li><a class="jumpurl" data-chosen="0" data-url="./Html/270-T/通知公告/新闻资讯首页.html"
                                    title="新闻资讯首页"><span>新闻资讯首页</span></a></li>
                            <li>
                            <li><a class="jumpurl" data-chosen="0" data-url="./Html/270-T/通知公告/编辑新闻资讯.html"
                                    title="发布/编辑新闻资讯"><span>发布/编辑新闻资讯</span></a></li>
                            <li>
                            <li><a class="jumpurl" data-chosen="0" data-url="./Html/270-T/通知公告/新闻资讯详情.html"
                                    title="新闻资讯详情"><span>新闻资讯详情</span></a></li>
                            <li>
                        </ul>
                    </li>
                    <li class="nav-item">
                        <a class="jumpurl nav-show" title="版本说明" data-url="./ProVersion.html"><i
                                class="my-icon nav-icon icon_2"></i><span>版本说明</span></a>
                    </li>
                </ul>
            </div>
        </div>
        <div id="page">
            <iframe id="pageframe" src=""></iframe>
        </div>
    </div>

    <div id="footer">
        蓝鸽科技 版权所有
        <!--<span>V5.2</span>-->
    </div>
    <script>
        $("#index").on('click', function () {
            var href = location.href;
            $.ajax({
                type: 'get',
                url: '/notice/api/commons/system/server/info?sysId=260',
                dataType: 'json',
                async: true,
                beforeSend: function (xhr) {
                    xhr.setRequestHeader('Authorization', href.substr(href.indexOf("lg_tk=") + 6,
                        36)); // 添加请求头Authorization：token
                },
                success: function (data) {
                    console.log(data);
                    if (data.code == 200 && data.data) {
                        var baseUrl = data.data.webSvrAddr;
                        var url = baseUrl + "html/help/";
                        if (href.indexOf("lg_tk") !== -1) {
                            var token = href.substr(href.indexOf("lg_tk=") + 6, 36);
                            console.log(token);
                            url += "?lg_tk=" + token;
                            window.open(url);
                        }
                        if (href.indexOf("lg_id") !== -1) {
                            var param = href.substr(href.indexOf("lg_id=") + 6);
                            console.log(param);
                            url += "?lg_id=" + param;
                            window.open(url);
                        }
                    }
                }
            })
        })
    </script>
</body>

</html>